package com.jzsk.variable.center.dao.zhengxin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 征信jar包出参映射字段配置，只有当jar包设置出参需要合并映射时该表才会有数据
 * </p>
 *
 * @author jiangli
 * @since 2024-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ZxJarOutparamMappingConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 征信jar包出参字段记录id
     */
    private Integer outparamFieldId;

    /**
     * 第几位开始
     */
    private Integer posStart;

    /**
     * 第几位结束
     */
    private Integer posEnd;

    /**
     * 关联的未映射前jar包字段编码
     */
    private String jarFieldCode;

    /**
     * 关联的未映射前jar包字段名称
     */
    private String jarFieldName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private String createUser;


    public static final String ID = "id";

    public static final String OUTPARAM_FIELD_ID = "outparam_field_id";

    public static final String POS_START = "pos_start";

    public static final String POS_END = "pos_end";

    public static final String JAR_FIELD_CODE = "jar_field_code";

    public static final String JAR_FIELD_NAME = "jar_field_name";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_USER = "create_user";

}
